package com.zp.bean.paper;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.zp.domain.AnswerItem;
import com.zp.domain.Question;

/**
 * define java bean for answer result
 * 
 * @author chenlijun08@gmail.com
 * 
 * @version 1.0
 * 
 * @date 2014/2/23
 * 
 */
@XmlRootElement
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class AnswerResultVo implements Serializable {
	private static final long serialVersionUID = 1L;
	private int id;
	private Question question;
	private AnswerItem item;
	private String status;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Question getQuestion() {
		return question;
	}

	public void setQuestion(Question question) {
		this.question = question;
	}

	public AnswerItem getItem() {
		return item;
	}

	public void setItem(AnswerItem item) {
		this.item = item;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
}
